package conson.tech.manage.app.service;

import conson.tech.manage.api.app.form.AppQueryForm;
import conson.tech.manage.app.entity.mobile.vo.ConfigVo;
import conson.tech.manage.app.entity.mobile.vo.CreditModuleVo;
import conson.tech.manage.app.entity.mobile.vo.IndexVo;
import conson.tech.manage.app.entity.mobile.vo.ModuleVo;
import conson.tech.manage.app.entity.pojo.AppConfig;

import java.util.List;

/**
 * InterfaceName: AppNewMobileService
 * Description:
 * Author: HXL
 * Date: 2020/6/9 9:16 上午
 * Version: 1.0
 */
public interface AppNewMobileService {

    IndexVo assembleAppMobilePageData(Long userId, Integer versionValue, AppQueryForm form);

    CreditModuleVo appQueryLetterBean(AppConfig appConfig, Integer versionValue,AppQueryForm form );

    List<ModuleVo> queryAppGroupByType(AppQueryForm form, Integer versionValue);

    ModuleVo queryGroupByGroupId(Long id,  Integer versionValue,AppQueryForm form );

    boolean saveIndex(Long userId, List<Long> iconIdList);

    ConfigVo getVersionConfig(String version, Integer platformType);

    ConfigVo getAndroidVersionConfig(String version, Integer platformType);
}
